package com.ndood.spider.taobao.bean;

import java.util.HashMap;
import java.util.Map;

public class TaobaoGoods {
	/**
	 * ID
	 */
	String id;

	/**
	 * 所属店铺
	 */
	String shopName;

	/**
	 * 名称
	 */
	String name;

	/**
	 * url
	 */
	String url;

	/**
	 * 参考价
	 */
	String price;

	/**
	 * 分类
	 */
	String cat;

	/**
	 * 分类路径
	 * 
	 * @return
	 */
	String catPath;

	/**
	 * 月销量
	 */
	String salesCount;

	/**
	 * 累计评价数
	 */
	String commentsCount;

	/**
	 * 图片urls
	 * 
	 * @return
	 */
	Map<String, String> imgUrls = new HashMap<String, String>();

	/**
	 * 颜色urls
	 */
	Map<String, String> colorUrls = new HashMap<String, String>();

	/**
	 * 品牌
	 */
	String brand;

	/**
	 * 参数
	 */
	Map<String, String> params = new HashMap<String, String>();

	/**
	 * 描述图片urls
	 * 
	 * @return
	 */
	Map<String, String> descUrls = new HashMap<String, String>();
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getCat() {
		return cat;
	}

	public void setCat(String cat) {
		this.cat = cat;
	}

	public String getCatPath() {
		return catPath;
	}

	public void setCatPath(String catPath) {
		this.catPath = catPath;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getSalesCount() {
		return salesCount;
	}

	public void setSalesCount(String salesCount) {
		this.salesCount = salesCount;
	}

	public String getCommentsCount() {
		return commentsCount;
	}

	public void setCommentsCount(String commentsCount) {
		this.commentsCount = commentsCount;
	}

	public Map<String, String> getImgUrls() {
		return imgUrls;
	}

	public void setImgUrls(Map<String, String> imgUrls) {
		this.imgUrls = imgUrls;
	}

	public Map<String, String> getColorUrls() {
		return colorUrls;
	}

	public void setColorUrls(Map<String, String> colorUrls) {
		this.colorUrls = colorUrls;
	}

	public Map<String, String> getParams() {
		return params;
	}

	public void setParams(Map<String, String> params) {
		this.params = params;
	}

	public Map<String, String> getDescUrls() {
		return descUrls;
	}

	public void setDescUrls(Map<String, String> descUrls) {
		this.descUrls = descUrls;
	}

	@Override
	public String toString() {
		return "TmallGoods [id=" + id + ", shopName=" + shopName + ", name=" + name + ", url=" + url + ", price="
				+ price + ", cat=" + cat + ", catPath=" + catPath + ", salesCount=" + salesCount + ", commentsCount="
				+ commentsCount + ", imgUrls=" + imgUrls + ", colorUrls=" + colorUrls + ", brand=" + brand + ", params="
				+ params + ", descUrls=" + descUrls + "]";
	}

}
